import { BasePageQo } from '@/base/api/BaseQo'

export type SysApiLogListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  accountId?: number
  requestTime: string
  responseTime: string
  handleTime: number
  instanceId: string
  url: string
  apiId: number
  returnCode: number
  sourceIp: string
  platformType: string
  failReason?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysApiLogDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  accountId?: number
  requestTime: string
  responseTime: string
  handleTime: number
  instanceId: string
  url: string
  apiId: number
  returnCode: number
  sourceIp: string
  platformType: string
  failReason?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysApiLogSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  accountId?: number
  requestTime?: string
  responseTime?: string
  handleTime?: number
  instanceId?: string
  url?: string
  apiId?: number
  returnCode?: number
  sourceIp?: string
  platformType?: string
  failReason?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysApiLogEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  accountId?: number
  requestTime?: string
  responseTime?: string
  handleTime?: number
  instanceId?: string
  url?: string
  apiId?: number
  returnCode?: number
  sourceIp?: string
  platformType?: string
  failReason?: string
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}
